package com.wcbdota.base;

public final class C {
	
	////////////////////////////////////////////////////////////////////////////////////////////////
	// app config
	
	public static final class config {
		public static final String updatefilename		= "wcbdota.apk";
	}
	
	////////////////////////////////////////////////////////////////////////////////////////////////
	// core settings (important)
	
	public static final class dir {
		public static final String base				= "/sdcard/wcbdota";
		public static final String images			= base + "/images";
		public static final String loadapp			= base + "/update";
	}
	
	////////////////////////////////////////////////////////////////////////////////////////////////
	// remote res
	public static final class remoteres {
		public static final String base				= "http://www.dota2.com.cn/images";
		public static final String heroes 			= "/heroes";
		public static final String heroes_abilities	= "/abilities";
		public static final String items 			= "/items";
		public static final String property			= "/property";
	}
	
	////////////////////////////////////////////////////////////////////////////////////////////////
	// res
	public static final class res {
		public static final String base				= "http://972098.ichengyun.net:80";
		public static final String heroes 			= "/heroimg";
		public static final String heroes_abilities	= "/skillimg";
		public static final String items 			= "/itemimg";
		public static final String upgradedir		= "/update";
	}
	
	public static final class api {
//		public static final String base			= "http://192.168.137.205:8001";
//		public static final String resbase		= "http://192.168.137.205:8002";
		
		public static final String base				= "http://972098.ichengyun.net:57433";
		
		public static final String index			= "/index/index";
		public static final String login			= "/index/login";
		public static final String logout			= "/index/logout";
		
		public static final String faceView 		= "/image/faceView";
		public static final String faceList 		= "/image/faceList";
		
		public static final String heroList			= "/hero/HeroList";
		public static final String heroSkillList	= "/hero/HeroSkillList";
		public static final String heroPropertyList = "/hero/HeroPropertyList";
		public static final String heroSkillSequence="/hero/HeroSkillSequence";
		public static final String heroBackground 	= "/hero/HeroBackground";
		
		public static final String versionList		= "/index/VersionList";

		public static final String itemList 			="/items/ItemsList";
		public static final String itemListbySpecics	="items/ItemsListBySpecies";
		
		public static final String customerView		= "/customer/customerView";
		public static final String customerEdit		= "/customer/customerEdit";
	}
	
	public static final class task {
		public static final int index				= 1001;
		public static final int login				= 1002;
		public static final int logout				= 1003;
		
		public static final int faceView			= 1004;
		public static final int faceList			= 1005;
		
		public static final int heroList			= 1006;
		public static final int heroSkillList		= 1007;
		public static final int heroPropertyList	= 1008;
		public static final int heroSkillSequence	= 1009;
		public static final int heroBackground 		= 1010;

		public static final int itemList			= 2001;
		
		public static final int versionList			= 3001;
		
		public static final int customerView		= 1011;
		public static final int customerEdit		= 1012;
	}
	
	public static final class err {
		public static final String network			= "网络错误";
		public static final String message			= "消息错误";
		public static final String jsonFormat		= "消息格式错误";
	}
	
	////////////////////////////////////////////////////////////////////////////////////////////////
	// intent & action settings
	
	public static final class intent {
		public static final class action {
			public static final String EDITTEXT		= "com.wcbdota.EDITTEXT";
			public static final String EDITBLOG		= "com.wcbdota.EDITBLOG";
		}
	}
	
	public static final class action {
		public static final class edittext {
			public static final int CONFIG			= 2001;
			public static final int COMMENT			= 2002;
		}
	}
	
	////////////////////////////////////////////////////////////////////////////////////////////////
	// additional settings
	
	public static final class web {
		public static final String base				= "http://192.168.1.2:8002";
		public static final String index			= base + "/index.php";
		public static final String gomap			= base + "/gomap.php";
	}
	
	////////////////////////////////////////////////////////////////////////////////////////////////
	// AdsMogo Config
	
	public static final class mogoConfig {
		public static final String mogoID			= "bd93b006739444a19ac08937ad02d456";
		public static final boolean expressMode		= false;
	}
}